package editAir.lightScene
{
	import _Pan3D.program.Shader3D;
	
	public class PerlinDisplayShader extends Shader3D
	{
		public static var PERLIN_DISPAY_SHADER:String = "PERLIN_DISPAY_SHADER";
		public function PerlinDisplayShader()
		{
			vertex = 
				"m44 vt0, va0, vc4 \n" +
				"m44 op, vt0, vc0 \n" +
				"mov v1, va1";
			fragment =
				
				"mov ft0,v1 \n"+
				"add ft0.x,ft0.x,fc0.x \n"+
				"tex ft1, ft0, fs1 <2d,clamp,repeat>\n"+
				//"mov ft1,fc0 \n"+
				"mov oc, ft1";
		}
	}
}